package com.zmm.study.car.service;

import com.zmm.study.car.common.ServerResponse;
import com.zmm.study.car.pojo.OrderDetails;
import com.zmm.study.car.vo.DetailsQuery;
import com.zmm.study.car.vo.OrderQuery;
import com.zmm.study.car.vo.OrderVo;

/**
 * description
 * name OrderService
 *
 * @author Zebulon
 * @date by 2022-05-06 16:45:04
 */
public interface OrderService {

    ServerResponse addOrder(OrderVo orderVo);

    ServerResponse getList(OrderQuery orderQuery);

    ServerResponse update(Long orderId, String status);

    ServerResponse updateDetail(OrderDetails orderDetails);

    ServerResponse deleteDetail(String id);

    ServerResponse getDetailsList(DetailsQuery detailsQuery);
}
